package com.adnaan.backend.entity.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * author: adnaan
 * create: 2025-01-18 15:36
 * Description:
 */
@Data
public class PermissionTree {

    @Schema(title = "子级菜单/权限", description = "")
    private List<PermissionTree> children;

    @Schema(title = "菜单/权限名称", description = "")
    private String label;

    @Schema(title = "菜单/权限ID", description = "")
    private Long value;

    @Schema(title = "菜单图标", description = "")
    private String icon;
}
